﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CrossQuery.ConditionQuery
{
    public interface Condition
    {
        /// <summary>
        /// Database of this condition
        /// </summary>
        string Database { get; set; }
        /// <summary>
        /// Table of this condition
        /// </summary>
        string Table { get; set; }
        /// <summary>
        /// Field of this condition
        /// </summary>
        string Field { get; set; }
        /// <summary>
        /// Indicate the condition type: {Multi, Bool, Date}
        /// </summary>
        string Type { get; }
        /// <summary>
        /// Return the SQL Statement Representation of this Conditions
        /// </summary>
        /// <returns></returns>
        string ToSQLString();
    }
}
